928a31f49a6dff131426fb022cc6b09ad9a44c73,platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarItem.java,NavBarItem,doPaintDecorated,#Graphics2D#,147

Before Change


          path.lineTo(off + 2, h);                // /_|
          path.lineTo(off + 2, 0);
          path.lineTo(0, 0);
          g.setColor(isNextSelected() ? UIUtil.getListSelectionBackground() : UIUtil.getListBackground());
          //if (UIUtil.isUnderAquaLookAndFeel() && isNextSelected() || !UIUtil.isUnderAquaLookAndFeel()) {
            g.fill(path);
          //}

After Change


  private void doPaintDecorated(Graphics2D g) {
    Icon icon = myIcon;
    final Color bg = isSelected() && isFocused()
                      ? UIUtil.getListSelectionBackground()
                      : (UIUtil.isUnderGTKLookAndFeel() ? Color.WHITE : UIUtil.getListBackground());
    final Color c = UIUtil.getListSelectionBackground();
    final Color selBg = new Color(c.getRed(), c.getGreen(), c.getBlue(), getAlpha());
    int w = getWidth();